<?php

class DebitMemo extends BaseDebitMemo
{

  public function getInvoiceId(){
    return $this->getInvoice()->getInvoiceNumber();
  }
  
  public function getDebitId(){
    return $this->getDebitType().'-'.$this->getDebitNumber();
  }
  
  public function getListName(){
    return $this->getAccountCustomer()->getContact()->getListName();
  }
  
  public function getDebitDate(){
    return $this->getDocument()->getDocumentDate();
  }
  
}
